package com.zshy.base.sms.contract.enums;

import com.zshy.base.core.contract.enums.IEnum;
import com.zshy.base.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 短信发送成功状态
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum SmsSendSuccessEnum implements IEnum<String>, EnumValueResolver<SmsSendSuccessEnum, String> {

    DELIVERED("DELIVERED", "短信发送成功"),
    /**
     * 具体错误请看
     * <a href="https://help.aliyun.com/zh/sms/developer-reference/delivery-receipt-error-codes#section-91r-wtb-7z9">...</a>
     */
    OTHER("OTHER", "短信发送失败");

    private final String code;

    private final String desc;
}
